package com.xu.cloud.common.format;

import java.text.MessageFormat;

/**
 * jdk MessageFormat, 占位符: ${0}, ${1}, ...
 *
 * @author xuguan
 * @since 2024/1/22
 */
public class JdkMessageFormat implements IMessageFormat {
    @Override
    public String format(String messagePattern, Object[] args) {
        return MessageFormat.format(messagePattern, args);
    }
}
